composer create-project laravel/laravel="5.1.*" appName
composer create-project laravel/laravel=4.1.27 your-project-name --prefer-dist